home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
protect_the_fire.swf
/
scripts
/
DefineSprite_274
/
frame_30
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
225b
|
16 lines
trace("AI: set angle");
slope = deltay / deltax;
if(slope < "0")
{
slope *= "-1";
}
i = "1";
while(i < "91" and angle == "0")
{
if(slope < eval("/:angle" add i))
{
angle = i;
}
i += "3";
}